package com.example.demo.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.example.demo.entity.EtInformation;
import com.example.demo.entity.EtInformationType;

public interface InformationDao {

	public int insertInformation(EtInformation info);
	
	public int updateInformation(EtInformation info);
	
	public int delInformation(String id);
	
	public List<EtInformation> getInfoList(EtInformation info);
	
	public EtInformation getInfo(String id);
	
	public EtInformation getDetailInfo(@Param(value = "id")String id,@Param(value = "type")String type);
	
	public List<EtInformation> getTitleList(String type);
	
	public List<EtInformationType> getTypeList();
	
	public EtInformation getReport(@Param(value = "reportNum") String reportNum,@Param(value = "reportCode") String reportCode);
	
}
